package com.dangdang.domain;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 * 用户实体类
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-1-18
 */
public class User implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 用户ID */
	private Integer id;

	/** 用户真实姓名 */
	private String realName;

	/** 用户昵称,用户登录名 */
	private String nickName;

	/** 用户邮箱 */
	private String email;

	/** 用户登录密码 */
	private String password;

	/** 用户积分 */
	private Integer userIntegeregral = 0;

	/** 标识该用户是否被激活 */
	private Integer isEmailVerify = 0;

	/** 邮箱验证码 */
	private String emailVerifyCode;

	/** 用户收货地址 */
	private Set<ReceiveAddress> receiveAddress = new HashSet<ReceiveAddress>(0);

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNickName() {
		return this.nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getUserIntegeregral() {
		return this.userIntegeregral;
	}

	public void setUserIntegeregral(Integer userIntegeregral) {
		this.userIntegeregral = userIntegeregral;
	}

	public Integer getIsEmailVerify() {
		return this.isEmailVerify;
	}

	public void setIsEmailVerify(Integer isEmailVerify) {
		this.isEmailVerify = isEmailVerify;
	}

	public String getEmailVerifyCode() {
		return this.emailVerifyCode;
	}

	public void setEmailVerifyCode(String emailVerifyCode) {
		this.emailVerifyCode = emailVerifyCode;
	}

	public Set<ReceiveAddress> getReceiveAddress() {
		return receiveAddress;
	}

	public void setReceiveAddress(Set<ReceiveAddress> receiveAddress) {
		this.receiveAddress = receiveAddress;
	}

}